﻿@{
    ViewData["Title"] = "New Page";
}
@model UserViewModel

<form asp-controller="Home" role="form" asp-action="New" enctype="multipart/form-data" method="post">
    <div class="form-group">
        <label asp-for="Name"></label>
        <input type="text" class="form-control" asp-for="Name" />
    </div>
    <div class="form-group">
        <label asp-for="IdNum"></label>
        <input type="text" class="form-control" asp-for="IdNum" />
    </div>
    <div class="form-group">
        <label asp-for="IdCardImg"></label>
        <input type="file" asp-for="IdCardImg" />
        <p class="help-block">上传。</p>
    </div>
    <button type="submit" class="btn btn-default">提交</button>
</form>


